const marked = require('marked')

module.exports = function (markdown) {
  const option = marked.parse(markdown)
  return `module.exports = ${JSON.stringify(option)}`
}